#ifndef XMLFUNCBLOCK_H
#define XMLFUNCBLOCK_H

#include <QtCore>
#include "funcblockbase.h"
#include "schematicbase.h"

class XmlFuncBlock : public FuncBlockBase
{
public:
    XmlFuncBlock(SchematicBase *parent, QString xml_filename);
};

class XmlFuncBlockException : public  QtConcurrent::Exception
{
public:
    void raise() const { throw *this; }
    Exception *clone() const { return new XmlFuncBlockException(*this); }
    //void setMessage(QString msg) {message = msg;};
    //QString getMessage() {return message;};
private:
    //QString message;
};

#endif // XMLFUNCBLOCK_H
